home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
016a
/
patch100.zip
/
PATCHER.DOC
< prev
next >
Wrap
Text File
|
1991-12-14
|
4KB
|
130 lines
PATCHER.EXE E
COMPARE.EXE
Version 1.00 1.00
12/12/91
DISCLAIMER's WARRANTY
======================
The author will not be held responsible for any
damages, physical or emotional, caused by the use of
this program. Use this program at your own risk.
QUICK DESCRIPTION
=================
COMPARE.EXE program will compare two files (an original
and a modified) and will create a text file containing
the differences between the two compared files.
PATCHER.EXE will read this data file and modify a copy
of the original file to obtain a copy of the modified
file.
EXTENDED DESCRIPTION
=====================
COMPARE.EXE
-----------
Usage: COMPARE.EXE datafile.CMP original.exe modified.exe
COMPARE creates datafile.cmp which will contain a
listing of all the different bytes found in the
comparison of original.exe and modified.exe. The
original.exe is the name of the unmodified file.
Modified.exe is a modified version of original.exe.
For example:
Using a debugger, John modifies his wp.exe.
John then uses COMPARE.EXE to compare his
original.exe and his newly modified version.
COMPARE.EXE creates a data file.
Wendy and John have the same word processor!
Wendy is interested in performing the same
modification to her word processor so she
uses the PATCHER.EXE file to read the
data file created by John (and compare.exe).
The following is a sample data file created by COMPARE.EXE:
test.1 <==== Name of original file
7 <==== length of original file
5,4e,6e <==== at offset 5, the original file had
hex char '4e' but the
modified version had hex char '6e'
Comments maybe added (using a word processor) to the
data file by simply adding lines beginning with ASCII
character '*' followed by the desired comment. Each
comment line must being with '*'.
IMPORTANT: Comments line can only be added anywhere
after the line containing the "length of the original
file".
Example:
test.1 <==== Name of original file
7 <==== length of original file. Comment
are added after this line!
* Patch by John <==== Comment lines are always
proceeded the '*' character
5,4e,6e <==== at offset 5, the original file had
hex char '4e' but the
modified version had hex char '6e'
DO NOT ADD ANY EMPTY LINES!
PATCHER.EXE
-----------------------
Usage: PATCHER datafile.CMP dest.exe
REMEMBER: Prior to using PATCHER.EXE, make a backup of
your dest.exe file!
PATCHER.EXE reads the datafile.cmp and modifies the
dest.exe file according to the information presented in
the data file.
IMPORTANT: The dest.exe file must be an exact copy of
the original.exe file. The length and content must be
identical or else PATCHER.EXE will not work properly.
If the dest.exe filename is omitted, PATCHER will
search and modify the filename specified in the first
line of the data file (which is also the name of the
original file).